//
//  MineTableViewCell.m
//  DongChiDaChiProject1
//
//  Created by lanou3g on 15/10/28.
//  Copyright © 2015年 com.lanou3g. All rights reserved.
//

#import "MineTableViewCell.h"

@implementation MineTableViewCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self addSubCellView];
    }
    return self;
    
}

- (void)addSubCellView
{
    self.cellImage = [[UIImageView alloc] initWithFrame:CGRectMake(20, 0, 40, 40)];
//    self.cellImage.image = [UIImage imageNamed:@"mineCollect.png"];
    [self.contentView addSubview:self.cellImage];
    
    self.cellName = [[UILabel alloc] initWithFrame:CGRectMake(70, 0, 100, 40)];
//    self.cellName.backgroundColor = [UIColor purpleColor];
    [self.contentView addSubview:self.cellName];
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
